package com.arpa.oms.domain.entity;

import com.arpa.oms.domain.enums.SettlementStatusEnum;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * <p>
 * OMS应收明细
 * </p>
 *
 * @author LEO
 * @since 2020-11-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="OmsReceivableDetail对象", description="OMS应收明细")
public class OmsReceivableDetail extends OmsReceivableDetailBasic {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "待结算金额")
    @TableField("waiting_settled_money")
    private BigDecimal waitingSettledMoney;

    @ApiModelProperty(value = "未结算金额")
    @TableField("unsettled_money")
    private BigDecimal unsettledMoney;


    @ApiModelProperty(value = "状态:UNSETTLED(未结算)，SETTLED(已结算)，PARTIALLY_SETTLED(部分结算)")
    @TableField("status")
    private SettlementStatusEnum status;

    @ApiModelProperty(value = "备注")
    @TableField("remarks")
    private String remarks;


}
